package top.ucat.starter.swagger.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import springfox.documentation.annotations.ApiIgnore;

@Controller
@ApiIgnore
public class SwaggerController {

//    @GetMapping("/swagger")
//    public String goSwaggerPage() {
//        return "redirect:swagger-ui.html";
//    }

    @GetMapping("/doc")
    public String goSwaggerDoc() {
        return "redirect:doc.html";
    }
}
